<!DOCTYPE html><html lang="en"><head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <title>Billboard - Cesium Documentation</title>
    
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/node-dark.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
    <script src="javascript/all.js"></script>
    <!-- Syntax Highlighting -->
    <link rel="stylesheet" href="styles/shCore.css" media="all">
    <link rel="stylesheet" href="styles/shThemeDefault.css" media="all">
    <script src="javascript/shCore.js"></script>
    <script src="javascript/shBrushJScript.js"></script>
    <base target="_blank">
</head>

<body>
<div id="bkgd">

<div class="nav">
    <div class="menu">
        <a href="http://cesiumjs.org/"><img src="images/CesiumLogo.jpg" class="menuLogo"></a>
        <div class="rightLinks indexLinks">
            <a href="index.html">top</a>
        </div>
        <div class="indexLinks">
            <a id="allLink">all</a>
            <a id="jsIndexLink">js</a>
            <a id="glslIndexLink">glsl</a>
        </div>
        <div class="divider"></div>
        <form name="filterForm" method="get" onsubmit="return false;">
            <input type="text" name="classFilter" class="classFilter" id="ClassFilter" placeholder="Filter">
            <input type="hidden" id="filterType" value="all">
        </form>
        <ul id="ClassList"><div id="classItems"><li><a href="Animation.html" target="_self">Animation</a></li><li><a href="AnimationCollection.html" target="_self">AnimationCollection</a></li><li><a href="AnimationViewModel.html" target="_self">AnimationViewModel</a></li><li><a href="Appearance.html" target="_self">Appearance</a></li><li><a href="ArcGisImageServerTerrainProvider.html" target="_self">ArcGisImageServerTerrainProvider</a></li><li><a href="ArcGisMapServerImageryProvider.html" target="_self">ArcGisMapServerImageryProvider</a></li><li><a href="AxisAlignedBoundingBox.html" target="_self">AxisAlignedBoundingBox</a></li><li><a href="BaseLayerPicker.html" target="_self">BaseLayerPicker</a></li><li><a href="BaseLayerPickerViewModel.html" target="_self">BaseLayerPickerViewModel</a></li><li><a href="Billboard.html" target="_self">Billboard</a></li><li><a href="BillboardCollection.html" target="_self">BillboardCollection</a></li><li><a href="BingMapsImageryProvider.html" target="_self">BingMapsImageryProvider</a></li><li><a href="BoundingRectangle.html" target="_self">BoundingRectangle</a></li><li><a href="BoundingSphere.html" target="_self">BoundingSphere</a></li><li><a href="BoxGeometry.html" target="_self">BoxGeometry</a></li><li><a href="BoxOutlineGeometry.html" target="_self">BoxOutlineGeometry</a></li><li><a href="Buffer.html" target="_self">Buffer</a></li><li><a href="Camera.html" target="_self">Camera</a></li><li><a href="CameraController.html" target="_self">CameraController</a></li><li><a href="CameraEventAggregator.html" target="_self">CameraEventAggregator</a></li><li><a href="Cartesian2.html" target="_self">Cartesian2</a></li><li><a href="Cartesian3.html" target="_self">Cartesian3</a></li><li><a href="Cartesian4.html" target="_self">Cartesian4</a></li><li><a href="Cartographic.html" target="_self">Cartographic</a></li><li><a href="CatmullRomSpline.html" target="_self">CatmullRomSpline</a></li><li><a href="CentralBody.html" target="_self">CentralBody</a></li><li><a href="CesiumTerrainProvider.html" target="_self">CesiumTerrainProvider</a></li><li><a href="CesiumWidget.html" target="_self">CesiumWidget</a></li><li><a href="CircleGeometry.html" target="_self">CircleGeometry</a></li><li><a href="CircleOutlineGeometry.html" target="_self">CircleOutlineGeometry</a></li><li><a href="ClearCommand.html" target="_self">ClearCommand</a></li><li><a href="Clock.html" target="_self">Clock</a></li><li><a href="ClockViewModel.html" target="_self">ClockViewModel</a></li><li><a href="Color.html" target="_self">Color</a></li><li><a href="ColorGeometryInstanceAttribute.html" target="_self">ColorGeometryInstanceAttribute</a></li><li><a href="ColorMaterialProperty.html" target="_self">ColorMaterialProperty</a></li><li><a href="Command.html" target="_self">Command</a></li><li><a href="CompositeDynamicObjectCollection.html" target="_self">CompositeDynamicObjectCollection</a></li><li><a href="CompositeMaterialProperty.html" target="_self">CompositeMaterialProperty</a></li><li><a href="CompositePositionProperty.html" target="_self">CompositePositionProperty</a></li><li><a href="CompositePrimitive.html" target="_self">CompositePrimitive</a></li><li><a href="CompositeProperty.html" target="_self">CompositeProperty</a></li><li><a href="ConstantPositionProperty.html" target="_self">ConstantPositionProperty</a></li><li><a href="ConstantProperty.html" target="_self">ConstantProperty</a></li><li><a href="Context.html" target="_self">Context</a></li><li><a href="CorridorGeometry.html" target="_self">CorridorGeometry</a></li><li><a href="CorridorOutlineGeometry.html" target="_self">CorridorOutlineGeometry</a></li><li><a href="Credit.html" target="_self">Credit</a></li><li><a href="CreditDisplay.html" target="_self">CreditDisplay</a></li><li><a href="CubeMap.html" target="_self">CubeMap</a></li><li><a href="CubeMapFace.html" target="_self">CubeMapFace</a></li><li><a href="CustomSensorVolume.html" target="_self">CustomSensorVolume</a></li><li><a href="CylinderGeometry.html" target="_self">CylinderGeometry</a></li><li><a href="CylinderGeometryOutline.html" target="_self">CylinderGeometryOutline</a></li><li><a href="CzmlDataSource.html" target="_self">CzmlDataSource</a></li><li><a href="DataSource.html" target="_self">DataSource</a></li><li><a href="DataSourceCollection.html" target="_self">DataSourceCollection</a></li><li><a href="DataSourceDisplay.html" target="_self">DataSourceDisplay</a></li><li><a href="DebugAppearance.html" target="_self">DebugAppearance</a></li><li><a href="DebugModelMatrixPrimitive.html" target="_self">DebugModelMatrixPrimitive</a></li><li><a href="DefaultProxy.html" target="_self">DefaultProxy</a></li><li><a href="Deferred.html" target="_self">Deferred</a></li><li><a href="DeveloperError.html" target="_self">DeveloperError</a></li><li><a href="DiscardMissingTileImagePolicy.html" target="_self">DiscardMissingTileImagePolicy</a></li><li><a href="DrawCommand.html" target="_self">DrawCommand</a></li><li><a href="DynamicBillboard.html" target="_self">DynamicBillboard</a></li><li><a href="DynamicBillboardVisualizer.html" target="_self">DynamicBillboardVisualizer</a></li><li><a href="DynamicClock.html" target="_self">DynamicClock</a></li><li><a href="DynamicCone.html" target="_self">DynamicCone</a></li><li><a href="DynamicConeVisualizerUsingCustomSensor.html" target="_self">DynamicConeVisualizerUsingCustomSensor</a></li><li><a href="DynamicEllipse.html" target="_self">DynamicEllipse</a></li><li><a href="DynamicEllipsoid.html" target="_self">DynamicEllipsoid</a></li><li><a href="DynamicEllipsoidVisualizer.html" target="_self">DynamicEllipsoidVisualizer</a></li><li><a href="DynamicLabel.html" target="_self">DynamicLabel</a></li><li><a href="DynamicLabelVisualizer.html" target="_self">DynamicLabelVisualizer</a></li><li><a href="DynamicObject.html" target="_self">DynamicObject</a></li><li><a href="DynamicObjectCollection.html" target="_self">DynamicObjectCollection</a></li><li><a href="DynamicObjectView.html" target="_self">DynamicObjectView</a></li><li><a href="DynamicPath.html" target="_self">DynamicPath</a></li><li><a href="DynamicPathVisualizer.html" target="_self">DynamicPathVisualizer</a></li><li><a href="DynamicPoint.html" target="_self">DynamicPoint</a></li><li><a href="DynamicPointVisualizer.html" target="_self">DynamicPointVisualizer</a></li><li><a href="DynamicPolygon.html" target="_self">DynamicPolygon</a></li><li><a href="DynamicPolygonVisualizer.html" target="_self">DynamicPolygonVisualizer</a></li><li><a href="DynamicPolyline.html" target="_self">DynamicPolyline</a></li><li><a href="DynamicPolylineVisualizer.html" target="_self">DynamicPolylineVisualizer</a></li><li><a href="DynamicPyramid.html" target="_self">DynamicPyramid</a></li><li><a href="DynamicPyramidVisualizer.html" target="_self">DynamicPyramidVisualizer</a></li><li><a href="DynamicVector.html" target="_self">DynamicVector</a></li><li><a href="DynamicVectorVisualizer.html" target="_self">DynamicVectorVisualizer</a></li><li><a href="EarthOrientationParameters.html" target="_self">EarthOrientationParameters</a></li><li><a href="EarthOrientationParametersSample.html" target="_self">EarthOrientationParametersSample</a></li><li><a href="EllipseGeometry.html" target="_self">EllipseGeometry</a></li><li><a href="EllipseOutlineGeometry.html" target="_self">EllipseOutlineGeometry</a></li><li><a href="Ellipsoid.html" target="_self">Ellipsoid</a></li><li><a href="EllipsoidalOccluder.html" target="_self">EllipsoidalOccluder</a></li><li><a href="EllipsoidGeodesic.html" target="_self">EllipsoidGeodesic</a></li><li><a href="EllipsoidGeometry.html" target="_self">EllipsoidGeometry</a></li><li><a href="EllipsoidOutlineGeometry.html" target="_self">EllipsoidOutlineGeometry</a></li><li><a href="EllipsoidPrimitive.html" target="_self">EllipsoidPrimitive</a></li><li><a href="EllipsoidSurfaceAppearance.html" target="_self">EllipsoidSurfaceAppearance</a></li><li><a href="EllipsoidTangentPlane.html" target="_self">EllipsoidTangentPlane</a></li><li><a href="EllipsoidTerrainProvider.html" target="_self">EllipsoidTerrainProvider</a></li><li><a href="EncodedCartesian3.html" target="_self">EncodedCartesian3</a></li><li><a href="Enumeration.html" target="_self">Enumeration</a></li><li><a href="Event.html" target="_self">Event</a></li><li><a href="EventHelper.html" target="_self">EventHelper</a></li><li><a href="Extent.html" target="_self">Extent</a></li><li><a href="ExtentGeometry.html" target="_self">ExtentGeometry</a></li><li><a href="ExtentOutlineGeometry.html" target="_self">ExtentOutlineGeometry</a></li><li><a href="ExtentPrimitive.html" target="_self">ExtentPrimitive</a></li><li><a href="Framebuffer.html" target="_self">Framebuffer</a></li><li><a href="FrameState.html" target="_self">FrameState</a></li><li><a href="FrustumCommands.html" target="_self">FrustumCommands</a></li><li><a href="FullscreenButton.html" target="_self">FullscreenButton</a></li><li><a href="FullscreenButtonViewModel.html" target="_self">FullscreenButtonViewModel</a></li><li><a href="Geocoder.html" target="_self">Geocoder</a></li><li><a href="GeocoderViewModel.html" target="_self">GeocoderViewModel</a></li><li><a href="GeographicProjection.html" target="_self">GeographicProjection</a></li><li><a href="GeographicTilingScheme.html" target="_self">GeographicTilingScheme</a></li><li><a href="GeoJsonDataSource.html" target="_self">GeoJsonDataSource</a></li><li><a href="Geometry.html" target="_self">Geometry</a></li><li><a href="GeometryAttribute.html" target="_self">GeometryAttribute</a></li><li><a href="GeometryAttributes.html" target="_self">GeometryAttributes</a></li><li><a href="GeometryInstance.html" target="_self">GeometryInstance</a></li><li><a href="GeometryInstanceAttribute.html" target="_self">GeometryInstanceAttribute</a></li><li><a href="GoogleEarthImageryProvider.html" target="_self">GoogleEarthImageryProvider</a></li><li><a href="GregorianDate.html" target="_self">GregorianDate</a></li><li><a href="GridImageryProvider.html" target="_self">GridImageryProvider</a></li><li><a href="GridMaterialProperty.html" target="_self">GridMaterialProperty</a></li><li><a href="HeightmapTerrainData.html" target="_self">HeightmapTerrainData</a></li><li><a href="HermiteSpline.html" target="_self">HermiteSpline</a></li><li><a href="HomeButton.html" target="_self">HomeButton</a></li><li><a href="HomeButtonViewModel.html" target="_self">HomeButtonViewModel</a></li><li><a href="Iau2006XysData.html" target="_self">Iau2006XysData</a></li><li><a href="Iau2006XysSample.html" target="_self">Iau2006XysSample</a></li><li><a href="IauOrientationAxes.html" target="_self">IauOrientationAxes</a></li><li><a href="ImageMaterialProperty.html" target="_self">ImageMaterialProperty</a></li><li><a href="ImageryLayer.html" target="_self">ImageryLayer</a></li><li><a href="ImageryLayerCollection.html" target="_self">ImageryLayerCollection</a></li><li><a href="ImageryProvider.html" target="_self">ImageryProvider</a></li><li><a href="ImageryProviderViewModel.html" target="_self">ImageryProviderViewModel</a></li><li><a href="Interval.html" target="_self">Interval</a></li><li><a href="JulianDate.html" target="_self">JulianDate</a></li><li><a href="Label.html" target="_self">Label</a></li><li><a href="LabelCollection.html" target="_self">LabelCollection</a></li><li><a href="LeapSecond.html" target="_self">LeapSecond</a></li><li><a href="LinearSpline.html" target="_self">LinearSpline</a></li><li><a href="Material.html" target="_self">Material</a></li><li><a href="MaterialAppearance.html" target="_self">MaterialAppearance</a></li><li><a href="MaterialProperty.html" target="_self">MaterialProperty</a></li><li><a href="Matrix2.html" target="_self">Matrix2</a></li><li><a href="Matrix3.html" target="_self">Matrix3</a></li><li><a href="Matrix4.html" target="_self">Matrix4</a></li><li><a href="Moon.html" target="_self">Moon</a></li><li><a href="NearFarScalar.html" target="_self">NearFarScalar</a></li><li><a href="NeverTileDiscardPolicy.html" target="_self">NeverTileDiscardPolicy</a></li><li><a href="ObjectOrientedBoundingBox.html" target="_self">ObjectOrientedBoundingBox</a></li><li><a href="Occluder.html" target="_self">Occluder</a></li><li><a href="OpenStreetMapImageryProvider.html" target="_self">OpenStreetMapImageryProvider</a></li><li><a href="OrthographicFrustum.html" target="_self">OrthographicFrustum</a></li><li><a href="PassState.html" target="_self">PassState</a></li><li><a href="PerInstanceColorAppearance.html" target="_self">PerInstanceColorAppearance</a></li><li><a href="PerspectiveFrustum.html" target="_self">PerspectiveFrustum</a></li><li><a href="PerspectiveOffCenterFrustum.html" target="_self">PerspectiveOffCenterFrustum</a></li><li><a href="Plane.html" target="_self">Plane</a></li><li><a href="Polygon.html" target="_self">Polygon</a></li><li><a href="PolygonGeometry.html" target="_self">PolygonGeometry</a></li><li><a href="PolygonOutlineGeometry.html" target="_self">PolygonOutlineGeometry</a></li><li><a href="Polyline.html" target="_self">Polyline</a></li><li><a href="PolylineCollection.html" target="_self">PolylineCollection</a></li><li><a href="PolylineColorAppearance.html" target="_self">PolylineColorAppearance</a></li><li><a href="PolylineGeometry.html" target="_self">PolylineGeometry</a></li><li><a href="PolylineMaterialAppearance.html" target="_self">PolylineMaterialAppearance</a></li><li><a href="PolylineOutlineMaterialProperty.html" target="_self">PolylineOutlineMaterialProperty</a></li><li><a href="PolylineVolumeGeometry.html" target="_self">PolylineVolumeGeometry</a></li><li><a href="PolylineVolumeOutlineGeometry.html" target="_self">PolylineVolumeOutlineGeometry</a></li><li><a href="PositionProperty.html" target="_self">PositionProperty</a></li><li><a href="Primitive.html" target="_self">Primitive</a></li><li><a href="Promise.html" target="_self">Promise</a></li><li><a href="Property.html" target="_self">Property</a></li><li><a href="Quaternion.html" target="_self">Quaternion</a></li><li><a href="QuaternionSpline.html" target="_self">QuaternionSpline</a></li><li><a href="Queue.html" target="_self">Queue</a></li><li><a href="Ray.html" target="_self">Ray</a></li><li><a href="RectangularPyramidSensorVolume.html" target="_self">RectangularPyramidSensorVolume</a></li><li><a href="ReferenceProperty.html" target="_self">ReferenceProperty</a></li><li><a href="RenderState.html" target="_self">RenderState</a></li><li><a href="RequestErrorEvent.html" target="_self">RequestErrorEvent</a></li><li><a href="RuntimeError.html" target="_self">RuntimeError</a></li><li><a href="SampledPositionProperty.html" target="_self">SampledPositionProperty</a></li><li><a href="SampledProperty.html" target="_self">SampledProperty</a></li><li><a href="Scene.html" target="_self">Scene</a></li><li><a href="SceneModePicker.html" target="_self">SceneModePicker</a></li><li><a href="SceneModePickerViewModel.html" target="_self">SceneModePickerViewModel</a></li><li><a href="SceneTransitioner.html" target="_self">SceneTransitioner</a></li><li><a href="ScreenSpaceCameraController.html" target="_self">ScreenSpaceCameraController</a></li><li><a href="ScreenSpaceEventHandler.html" target="_self">ScreenSpaceEventHandler</a></li><li><a href="SensorVolumeCollection.html" target="_self">SensorVolumeCollection</a></li><li><a href="ShaderCache.html" target="_self">ShaderCache</a></li><li><a href="ShaderProgram.html" target="_self">ShaderProgram</a></li><li><a href="ShowGeometryInstanceAttribute.html" target="_self">ShowGeometryInstanceAttribute</a></li><li><a href="SimplePolylineGeometry.html" target="_self">SimplePolylineGeometry</a></li><li><a href="SingleTileImageryProvider.html" target="_self">SingleTileImageryProvider</a></li><li><a href="SkyAtmosphere.html" target="_self">SkyAtmosphere</a></li><li><a href="SkyBox.html" target="_self">SkyBox</a></li><li><a href="SphereGeometry.html" target="_self">SphereGeometry</a></li><li><a href="SphereOutlineGeometry.html" target="_self">SphereOutlineGeometry</a></li><li><a href="Spherical.html" target="_self">Spherical</a></li><li><a href="Spline.html" target="_self">Spline</a></li><li><a href="Sun.html" target="_self">Sun</a></li><li><a href="TaskProcessor.html" target="_self">TaskProcessor</a></li><li><a href="TerrainData.html" target="_self">TerrainData</a></li><li><a href="TerrainMesh.html" target="_self">TerrainMesh</a></li><li><a href="TerrainProvider.html" target="_self">TerrainProvider</a></li><li><a href="Texture.html" target="_self">Texture</a></li><li><a href="Texture2DPool.html" target="_self">Texture2DPool</a></li><li><a href="TextureAtlas.html" target="_self">TextureAtlas</a></li><li><a href="TextureAtlasBuilder.html" target="_self">TextureAtlasBuilder</a></li><li><a href="TileCoordinatesImageryProvider.html" target="_self">TileCoordinatesImageryProvider</a></li><li><a href="TileDiscardPolicy.html" target="_self">TileDiscardPolicy</a></li><li><a href="TileMapServiceImageryProvider.html" target="_self">TileMapServiceImageryProvider</a></li><li><a href="TileProviderError.html" target="_self">TileProviderError</a></li><li><a href="TilingScheme.html" target="_self">TilingScheme</a></li><li><a href="TimeInterval.html" target="_self">TimeInterval</a></li><li><a href="TimeIntervalCollection.html" target="_self">TimeIntervalCollection</a></li><li><a href="TimeIntervalCollectionPositionProperty.html" target="_self">TimeIntervalCollectionPositionProperty</a></li><li><a href="TimeIntervalCollectionProperty.html" target="_self">TimeIntervalCollectionProperty</a></li><li><a href="ToggleButtonViewModel.html" target="_self">ToggleButtonViewModel</a></li><li><a href="Uniform.html" target="_self">Uniform</a></li><li><a href="UniformArray.html" target="_self">UniformArray</a></li><li><a href="UniformState.html" target="_self">UniformState</a></li><li><a href="VertexArray.html" target="_self">VertexArray</a></li><li><a href="VertexArrayFacade.html" target="_self">VertexArrayFacade</a></li><li><a href="VertexFormat.html" target="_self">VertexFormat</a></li><li><a href="Viewer.html" target="_self">Viewer</a></li><li><a href="ViewportQuad.html" target="_self">ViewportQuad</a></li><li><a href="VisualizerCollection.html" target="_self">VisualizerCollection</a></li><li><a href="VRTheWorldTerrainProvider.html" target="_self">VRTheWorldTerrainProvider</a></li><li><a href="WallGeometry.html" target="_self">WallGeometry</a></li><li><a href="WallOutlineGeometry.html" target="_self">WallOutlineGeometry</a></li><li><a href="WebMapServiceImageryProvider.html" target="_self">WebMapServiceImageryProvider</a></li><li><a href="WebMercatorProjection.html" target="_self">WebMercatorProjection</a></li><li><a href="WebMercatorTilingScheme.html" target="_self">WebMercatorTilingScheme</a></li><li><a href="binarySearch.html" target="_self">binarySearch</a></li><li><a href="BingMapsStyle.html" target="_self">BingMapsStyle</a></li><li><a href="BlendEquation.html" target="_self">BlendEquation</a></li><li><a href="BlendFunction.html" target="_self">BlendFunction</a></li><li><a href="BlendingState.html" target="_self">BlendingState</a></li><li><a href="BufferUsage.html" target="_self">BufferUsage</a></li><li><a href="CameraColumbusViewMode.html" target="_self">CameraColumbusViewMode</a></li><li><a href="CameraEventType.html" target="_self">CameraEventType</a></li><li><a href="CameraFlightPath.html" target="_self">CameraFlightPath</a></li><li><a href="cancelAnimationFrame.html" target="_self">cancelAnimationFrame</a></li><li><a href="CesiumMath.html" target="_self">CesiumMath</a></li><li><a href="ClockRange.html" target="_self">ClockRange</a></li><li><a href="ClockStep.html" target="_self">ClockStep</a></li><li><a href="clone.html" target="_self">clone</a></li><li><a href="combine.html" target="_self">combine</a></li><li><a href="CornerType.html" target="_self">CornerType</a></li><li><a href="createCommand.html" target="_self">createCommand</a></li><li><a href="createGuid.html" target="_self">createGuid</a></li><li><a href="createTaskProcessorWorker.html" target="_self">createTaskProcessorWorker</a></li><li><a href="CubicRealPolynomial.html" target="_self">CubicRealPolynomial</a></li><li><a href="CullFace.html" target="_self">CullFace</a></li><li><a href="defaultValue.html" target="_self">defaultValue</a></li><li><a href="defined.html" target="_self">defined</a></li><li><a href="DepthFunction.html" target="_self">DepthFunction</a></li><li><a href="destroyObject.html" target="_self">destroyObject</a></li><li><a href="FAR.html" target="_self">FAR</a></li><li><a href="FeatureDetection.html" target="_self">FeatureDetection</a></li><li><a href="Fullscreen.html" target="_self">Fullscreen</a></li><li><a href="GeometryPipeline.html" target="_self">GeometryPipeline</a></li><li><a href="getFilenameFromUri.html" target="_self">getFilenameFromUri</a></li><li><a href="getImagePixels.html" target="_self">getImagePixels</a></li><li><a href="HeightmapTessellator.html" target="_self">HeightmapTessellator</a></li><li><a href="HermitePolynomialApproximation.html" target="_self">HermitePolynomialApproximation</a></li><li><a href="HorizontalOrigin.html" target="_self">HorizontalOrigin</a></li><li><a href="InterpolationAlgorithm.html" target="_self">InterpolationAlgorithm</a></li><li><a href="Intersect.html" target="_self">Intersect</a></li><li><a href="IntersectionTests.html" target="_self">IntersectionTests</a></li><li><a href="Iso8601.html" target="_self">Iso8601</a></li><li><a href="jsonp.html" target="_self">jsonp</a></li><li><a href="KeyboardEventModifier.html" target="_self">KeyboardEventModifier</a></li><li><a href="LabelStyle.html" target="_self">LabelStyle</a></li><li><a href="LagrangePolynomialApproximation.html" target="_self">LagrangePolynomialApproximation</a></li><li><a href="LinearApproximation.html" target="_self">LinearApproximation</a></li><li><a href="loadArrayBuffer.html" target="_self">loadArrayBuffer</a></li><li><a href="loadBlob.html" target="_self">loadBlob</a></li><li><a href="loadCubeMap.html" target="_self">loadCubeMap</a></li><li><a href="loadImage.html" target="_self">loadImage</a></li><li><a href="loadImageViaBlob.html" target="_self">loadImageViaBlob</a></li><li><a href="loadJson.html" target="_self">loadJson</a></li><li><a href="loadText.html" target="_self">loadText</a></li><li><a href="loadWithXhr.html" target="_self">loadWithXhr</a></li><li><a href="loadXML.html" target="_self">loadXML</a></li><li><a href="MipmapHint.html" target="_self">MipmapHint</a></li><li><a href="Packable.html" target="_self">Packable</a></li><li><a href="PackableForInterpolation.html" target="_self">PackableForInterpolation</a></li><li><a href="Pass.html" target="_self">Pass</a></li><li><a href="PixelDatatype.html" target="_self">PixelDatatype</a></li><li><a href="PixelFormat.html" target="_self">PixelFormat</a></li><li><a href="pointInsideTriangle.html" target="_self">pointInsideTriangle</a></li><li><a href="PolygonPipeline.html" target="_self">PolygonPipeline</a></li><li><a href="PolylinePipeline.html" target="_self">PolylinePipeline</a></li><li><a href="PrimitiveType.html" target="_self">PrimitiveType</a></li><li><a href="QuadraticRealPolynomial.html" target="_self">QuadraticRealPolynomial</a></li><li><a href="QuarticRealPolynomial.html" target="_self">QuarticRealPolynomial</a></li><li><a href="ReferenceFrame.html" target="_self">ReferenceFrame</a></li><li><a href="RenderbufferFormat.html" target="_self">RenderbufferFormat</a></li><li><a href="requestAnimationFrame.html" target="_self">requestAnimationFrame</a></li><li><a href="sampleTerrain.html" target="_self">sampleTerrain</a></li><li><a href="SceneMode.html" target="_self">SceneMode</a></li><li><a href="SceneTransforms.html" target="_self">SceneTransforms</a></li><li><a href="ScreenSpaceEventType.html" target="_self">ScreenSpaceEventType</a></li><li><a href="Shapes.html" target="_self">Shapes</a></li><li><a href="Simon1994PlanetaryPositions.html" target="_self">Simon1994PlanetaryPositions</a></li><li><a href="StencilFunction.html" target="_self">StencilFunction</a></li><li><a href="StencilOperation.html" target="_self">StencilOperation</a></li><li><a href="SvgPathBindingHandler.html" target="_self">SvgPathBindingHandler</a></li><li><a href="taskDispatcher.html" target="_self">taskDispatcher</a></li><li><a href="TextureMagnificationFilter.html" target="_self">TextureMagnificationFilter</a></li><li><a href="TextureMinificationFilter.html" target="_self">TextureMinificationFilter</a></li><li><a href="TextureWrap.html" target="_self">TextureWrap</a></li><li><a href="TimeConstants.html" target="_self">TimeConstants</a></li><li><a href="TimeStandard.html" target="_self">TimeStandard</a></li><li><a href="Tipsify.html" target="_self">Tipsify</a></li><li><a href="Transforms.html" target="_self">Transforms</a></li><li><a href="TridiagonalSystemSolver.html" target="_self">TridiagonalSystemSolver</a></li><li><a href="UniformDatatype.html" target="_self">UniformDatatype</a></li><li><a href="VertexLayout.html" target="_self">VertexLayout</a></li><li><a href="VerticalOrigin.html" target="_self">VerticalOrigin</a></li><li><a href="viewerDragDropMixin.html" target="_self">viewerDragDropMixin</a></li><li><a href="viewerDynamicObjectMixin.html" target="_self">viewerDynamicObjectMixin</a></li><li><a href="Visibility.html" target="_self">Visibility</a></li><li><a href="WindingOrder.html" target="_self">WindingOrder</a></li><li><a href="ComponentDatatype.html" target="_self">ComponentDatatype</a></li><li><a href="IndexDatatype.html" target="_self">IndexDatatype</a></li><li><a href="MaterialAppearance.MaterialSupport.html" target="_self">MaterialSupport</a></li></div><div id="glslItems"><li><a href="czm_antialias.html" target="_self">czm_antialias</a></li><li><a href="czm_columbusViewMorph.html" target="_self">czm_columbusViewMorph</a></li><li><a href="czm_computePosition.html" target="_self">czm_computePosition</a></li><li><a href="czm_currentFrustum.html" target="_self">czm_currentFrustum</a></li><li><a href="czm_eastNorthUpToEyeCoordinates.html" target="_self">czm_eastNorthUpToEyeCoordinates</a></li><li><a href="czm_ellipsoid.html" target="_self">czm_ellipsoid</a></li><li><a href="czm_ellipsoidContainsPoint.html" target="_self">czm_ellipsoidContainsPoint</a></li><li><a href="czm_ellipsoidNew.html" target="_self">czm_ellipsoidNew</a></li><li><a href="czm_ellipsoidWgs84TextureCoordinates.html" target="_self">czm_ellipsoidWgs84TextureCoordinates</a></li><li><a href="czm_emptyRaySegment.html" target="_self">czm_emptyRaySegment</a></li><li><a href="czm_encodedCameraPositionMCHigh.html" target="_self">czm_encodedCameraPositionMCHigh</a></li><li><a href="czm_encodedCameraPositionMCLow.html" target="_self">czm_encodedCameraPositionMCLow</a></li><li><a href="czm_entireFrustum.html" target="_self">czm_entireFrustum</a></li><li><a href="czm_epsilon1.html" target="_self">czm_epsilon1</a></li><li><a href="czm_epsilon2.html" target="_self">czm_epsilon2</a></li><li><a href="czm_epsilon3.html" target="_self">czm_epsilon3</a></li><li><a href="czm_epsilon4.html" target="_self">czm_epsilon4</a></li><li><a href="czm_epsilon5.html" target="_self">czm_epsilon5</a></li><li><a href="czm_epsilon6.html" target="_self">czm_epsilon6</a></li><li><a href="czm_epsilon7.html" target="_self">czm_epsilon7</a></li><li><a href="czm_equalsEpsilon.html" target="_self">czm_equalsEpsilon</a></li><li><a href="czm_eyeHeight2D.html" target="_self">czm_eyeHeight2D</a></li><li><a href="czm_eyeOffset.html" target="_self">czm_eyeOffset</a></li><li><a href="czm_eyeToWindowCoordinates.html" target="_self">czm_eyeToWindowCoordinates</a></li><li><a href="czm_frameNumber.html" target="_self">czm_frameNumber</a></li><li><a href="czm_fullRaySegment.html" target="_self">czm_fullRaySegment</a></li><li><a href="czm_geodeticSurfaceNormal.html" target="_self">czm_geodeticSurfaceNormal</a></li><li><a href="czm_getDefaultMaterial.html" target="_self">czm_getDefaultMaterial</a></li><li><a href="czm_getLambertDiffuse.html" target="_self">czm_getLambertDiffuse</a></li><li><a href="czm_getSpecular.html" target="_self">czm_getSpecular</a></li><li><a href="czm_getWgs84EllipsoidEC.html" target="_self">czm_getWgs84EllipsoidEC</a></li><li><a href="czm_hue.html" target="_self">czm_hue</a></li><li><a href="czm_infiniteProjection.html" target="_self">czm_infiniteProjection</a></li><li><a href="czm_infinity.html" target="_self">czm_infinity</a></li><li><a href="czm_inverseModel.html" target="_self">czm_inverseModel</a></li><li><a href="czm_inverseModelView.html" target="_self">czm_inverseModelView</a></li><li><a href="czm_inverseModelView3D.html" target="_self">czm_inverseModelView3D</a></li><li><a href="czm_inverseNormal.html" target="_self">czm_inverseNormal</a></li><li><a href="czm_inverseNormal3D.html" target="_self">czm_inverseNormal3D</a></li><li><a href="czm_inverseProjection.html" target="_self">czm_inverseProjection</a></li><li><a href="czm_inverseView.html" target="_self">czm_inverseView</a></li><li><a href="czm_inverseView3D.html" target="_self">czm_inverseView3D</a></li><li><a href="czm_inverseViewRotation.html" target="_self">czm_inverseViewRotation</a></li><li><a href="czm_inverseViewRotation3D.html" target="_self">czm_inverseViewRotation3D</a></li><li><a href="czm_isEmpty.html" target="_self">czm_isEmpty</a></li><li><a href="czm_isFull.html" target="_self">czm_isFull</a></li><li><a href="czm_latitudeToWebMercatorFraction.html" target="_self">czm_latitudeToWebMercatorFraction</a></li><li><a href="czm_luminance.html" target="_self">czm_luminance</a></li><li><a href="czm_material.html" target="_self">czm_material</a></li><li><a href="czm_materialInput.html" target="_self">czm_materialInput</a></li><li><a href="czm_model.html" target="_self">czm_model</a></li><li><a href="czm_modelToWindowCoordinates.html" target="_self">czm_modelToWindowCoordinates</a></li><li><a href="czm_modelView.html" target="_self">czm_modelView</a></li><li><a href="czm_modelView3D.html" target="_self">czm_modelView3D</a></li><li><a href="czm_modelViewInfiniteProjection.html" target="_self">czm_modelViewInfiniteProjection</a></li><li><a href="czm_modelViewProjection.html" target="_self">czm_modelViewProjection</a></li><li><a href="czm_modelViewProjectionRelativeToEye.html" target="_self">czm_modelViewProjectionRelativeToEye</a></li><li><a href="czm_modelViewRelativeToEye.html" target="_self">czm_modelViewRelativeToEye</a></li><li><a href="czm_moonDirectionEC.html" target="_self">czm_moonDirectionEC</a></li><li><a href="czm_morphTime.html" target="_self">czm_morphTime</a></li><li><a href="czm_multiplyWithColorBalance.html" target="_self">czm_multiplyWithColorBalance</a></li><li><a href="czm_normal.html" target="_self">czm_normal</a></li><li><a href="czm_normal3D.html" target="_self">czm_normal3D</a></li><li><a href="czm_phong.html" target="_self">czm_phong</a></li><li><a href="czm_pixelSizeInMeters.html" target="_self">czm_pixelSizeInMeters</a></li><li><a href="czm_pointAlongRay.html" target="_self">czm_pointAlongRay</a></li><li><a href="czm_projection.html" target="_self">czm_projection</a></li><li><a href="czm_ray.html" target="_self">czm_ray</a></li><li><a href="czm_rayEllipsoidIntersectionInterval.html" target="_self">czm_rayEllipsoidIntersectionInterval</a></li><li><a href="czm_raySegment.html" target="_self">czm_raySegment</a></li><li><a href="czm_RGBToXYZ.html" target="_self">czm_RGBToXYZ</a></li><li><a href="czm_saturation.html" target="_self">czm_saturation</a></li><li><a href="czm_sceneMode.html" target="_self">czm_sceneMode</a></li><li><a href="czm_sceneMode2D.html" target="_self">czm_sceneMode2D</a></li><li><a href="czm_sceneMode3D.html" target="_self">czm_sceneMode3D</a></li><li><a href="czm_sceneModeColumbusView.html" target="_self">czm_sceneModeColumbusView</a></li><li><a href="czm_sceneModeMorphing.html" target="_self">czm_sceneModeMorphing</a></li><li><a href="czm_sunDirectionEC.html" target="_self">czm_sunDirectionEC</a></li><li><a href="czm_sunDirectionWC.html" target="_self">czm_sunDirectionWC</a></li><li><a href="czm_sunPositionColumbusView.html" target="_self">czm_sunPositionColumbusView</a></li><li><a href="czm_sunPositionWC.html" target="_self">czm_sunPositionWC</a></li><li><a href="czm_tangentToEyeSpaceMatrix.html" target="_self">czm_tangentToEyeSpaceMatrix</a></li><li><a href="czm_temeToPseudoFixed.html" target="_self">czm_temeToPseudoFixed</a></li><li><a href="czm_translateRelativeToEye.html" target="_self">czm_translateRelativeToEye</a></li><li><a href="czm_transpose.html" target="_self">czm_transpose</a></li><li><a href="czm_view.html" target="_self">czm_view</a></li><li><a href="czm_view3D.html" target="_self">czm_view3D</a></li><li><a href="czm_viewerPositionWC.html" target="_self">czm_viewerPositionWC</a></li><li><a href="czm_viewport.html" target="_self">czm_viewport</a></li><li><a href="czm_viewportOrthographic.html" target="_self">czm_viewportOrthographic</a></li><li><a href="czm_viewportTransformation.html" target="_self">czm_viewportTransformation</a></li><li><a href="czm_viewProjection.html" target="_self">czm_viewProjection</a></li><li><a href="czm_viewRotation.html" target="_self">czm_viewRotation</a></li><li><a href="czm_viewRotation3D.html" target="_self">czm_viewRotation3D</a></li><li><a href="czm_webMercatorMaxLatitude.html" target="_self">czm_webMercatorMaxLatitude</a></li><li><a href="czm_windowToEyeCoordinates.html" target="_self">czm_windowToEyeCoordinates</a></li><li><a href="czm_XYZToRGB.html" target="_self">czm_XYZToRGB</a></li></div></ul>
    </div>
</div>
<div class="nav navStatic"></div>

<div id="main">
    
    <h1 class="page-title">Billboard</h1>
    
    

<section>
    
<header>
    <h2>
    Billboard
    </h2>
    
</header>  

<article>
    <div class="container-overview">
    
    
    
        
<dt>
    <h4 class="name" id="Billboard"><span class="type-signature"></span>new <a href="#Billboard" class="permalink" target="_self">Billboard</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">一种与视口对齐的图像，定位在3D场景中，通过<a href="BillboardCollection.html" target="_self">BillboardCollection</a>创建并渲染。通过调用<a href="BillboardCollection.html#add" target="_self">BillboardCollection#add</a>方法创建广告牌并设置其初始属性。广告牌的任意属性都可以随时通过调用对应的<code>set</code>方法进行修改，例如<a href="Billboard.html#setShow" target="_self">Billboard#setShow</a>。
<br><br></p><div align="center">
<img src="images/Billboard.png" width="400" height="300"><br>
Example billboards
</div>
    <p></p>
    
    
	
		<h5>Performance:</h5>
		<p class="description">调用任何<code>get</code>函数（例如<a href="Billboard.html#getShow" target="_self">Billboard#getShow</a>）的时间复杂度为常数级。

调用<code>set</code>函数（例如<a href="Billboard.html#setShow" target="_self">Billboard#setShow</a>）的时间复杂度也是常数级，但在调用BillboardCollection#update时会产生CPU到GPU的数据传输。无论更新了多少属性，每个广告牌的数据传输量都相同。

如果集合中大多数广告牌都需要更新，使用<a href="BillboardCollection.html#removeAll" target="_self">BillboardCollection#removeAll</a>清除集合并重新添加新广告牌，可能比逐个修改现有广告牌更高效。</p>
	
	
    
    
    
    
    
    
    
    <h5>Throws:</h5>
    <ul>
            <li>
<div class="param-desc">
    
		
		<span class="param-type"><a href="DeveloperError.html" target="_self">DeveloperError</a></span> 
		
	: scaleByDistance.far must be greater than scaleByDistance.near
</div>

</li>
        
            <li>
<div class="param-desc">
    
		
		<span class="param-type"><a href="DeveloperError.html" target="_self">DeveloperError</a></span> 
		
	: translucencyByDistance.far must be greater than translucencyByDistance.near
</div>

</li>
        
            <li>
<div class="param-desc">
    
		
		<span class="param-type"><a href="DeveloperError.html" target="_self">DeveloperError</a></span> 
		
	: pixelOffsetScaleByDistance.far must be greater than pixelOffsetScaleByDistance.near
</div>

</li>
        </ul>
    
     
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 67</li></ul></dd>
	
    -->
    
	
    
    <h5>Demo:</h5>
    <ul class="see-list">
        <li><a href="http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Billboards.html">Cesium Sandcastle Billboard Demo</a></li>
    </ul>
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="BillboardCollection.html" target="_self">BillboardCollection</a></li>
	
		<li><a href="BillboardCollection.html#add" target="_self">BillboardCollection#add</a></li>
	
		<li><a href="Label.html" target="_self">Label</a></li>
	</ul>
	
	
	
	<h5>Source:</h5> 
		<ul class="see-list">
			<li><a href="https://github.com/AnalyticalGraphicsInc/cesium/blob/b25oard.js" target="_blank">oard.js</a></li>
		</ul>
	

	
</dl>

	
	<div class="hr"></div>
</dd>

    
    </div>
    
    
    
    
    
    
    
    
    
    
    
    
        <h3 class="subsection-title">Members</h3>
        
        <dl>
            
<dt>
    <h4 class="name" id="tempPixelOffset"><span class="type-signature"><static> </span><a href="#tempPixelOffset" class="permalink" target="_self">tempPixelOffset</a><span class="type-signature"> :<a href="DeveloperError.html" target="_self">DeveloperError</a></span></h4>
    
    
</dt>
<dd>
    
    <div class="description">计算广告牌原点在屏幕空间中的位置，同时考虑视线偏移和像素偏移。
屏幕空间坐标系的原点位于画布左下角：<code>x</code>从左向右递增，<code>y</code>从下向上递增。</div>
    
        
    
        <h5>Example</h5>
        
    <pre class="code brush: js">console.log(b.computeScreenSpacePosition(scene.getContext(), scene.getFrameState()).toString());</pre>

    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 1036</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setEyeOffset" target="_self">Billboard#setEyeOffset</a></li>
	
		<li><a href="Billboard.html#setPixelOffset" target="_self">Billboard#setPixelOffset</a></li>
	</ul>
	
	
	

	
</dl>

	<div class="hr"></div>
</dd>

        </dl>
    
    
    
        <h3 class="subsection-title">Methods</h3>
        
        <dl>
            
<dt>
    <h4 class="name" id="equals"><span class="type-signature"></span><a href="#equals" class="permalink" target="_self">equals</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">判断此广告牌是否等于另一个广告牌。如果两个广告牌的所有属性都相等，则认为它们相等。不同集合中的广告牌也可能相等。</p>
    
    
	
	
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>other</code></td>
            
            
            <td class="type">
            
                        <a href="Billboard.html" target="_self">Billboard</a>
                        
                    
            </td>
            
            
            
            
            
            <td class="description last">用于比较是否相等的公告牌。</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type">Boolean</span> 
		
		 <code>true</code> if the billboards are equal; otherwise, <code>false</code>.
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 1070</li></ul></dd>
	
    -->
    
	
     
	
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getAlignedAxis"><span class="type-signature"></span><a href="#getAlignedAxis" class="permalink" target="_self">getAlignedAxis</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">获取世界空间中的对齐轴。对齐轴是指广告牌（billboard）向上向量所指向的单位向量。默认值为零向量，表示广告牌将与屏幕的向上向量对齐。</p>
    
    
	
	
    
    
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type"><a href="Cartesian3.html" target="_self">Cartesian3</a></span> 
		
		 The aligned axis.
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 849</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setRotation" target="_self">Billboard#setRotation</a></li>
	
		<li><a href="Billboard.html#getRotation" target="_self">Billboard#getRotation</a></li>
	
		<li><a href="Billboard.html#setAlignedAxis" target="_self">Billboard#setAlignedAxis</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getColor"><span class="type-signature"></span><a href="#getColor" class="permalink" target="_self">getColor</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">返回与广告牌纹理相乘的颜色值。该颜色通过返回对象的<code>red</code>、<code>green</code>、<code>blue</code>和<code>alpha</code>属性表示，其取值范围从<code>0</code>（无强度）到<code>1.0</code>（全强度）。</p>
    
    
	
	
    
    
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type">Number</span> 
		
		 The color that is multiplied with the billboard's texture.
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 736</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setColor" target="_self">Billboard#setColor</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getEyeOffset"><span class="type-signature"></span><a href="#getEyeOffset" class="permalink" target="_self">getEyeOffset</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">返回应用于该广告牌在眼坐标系中的3D笛卡尔偏移量。</p>
    
    
	
	
    
    
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type"><a href="Cartesian3.html" target="_self">Cartesian3</a></span> 
		
		 The 3D Cartesian offset applied to this billboard in eye coordinates.
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 498</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setEyeOffset" target="_self">Billboard#setEyeOffset</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getHeight"><span class="type-signature"></span><a href="#getHeight" class="permalink" target="_self">getHeight</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">获取广告牌的自定义高度，若使用图像高度则返回undefined。</p>
    
    
	
	
    
    
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type">Number</span> 
		
		 The billboard's height or undefined.
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 939</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setHeight" target="_self">Billboard#setHeight</a></li>
	
		<li><a href="Billboard.html#getWidth" target="_self">Billboard#getWidth</a></li>
	
		<li><a href="Billboard.html#setWidth" target="_self">Billboard#setWidth</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getHorizontalOrigin"><span class="type-signature"></span><a href="#getHorizontalOrigin" class="permalink" target="_self">getHorizontalOrigin</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">返回此广告牌的水平原点。</p>
    
    
	
	
    
    
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type"><a href="HorizontalOrigin.html" target="_self">HorizontalOrigin</a></span> 
		
		 The horizontal origin of this billboard.
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 558</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setHorizontalOrigin" target="_self">Billboard#setHorizontalOrigin</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getId"><span class="type-signature"></span><a href="#getId" class="permalink" target="_self">getId</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">返回拾取广告牌时返回的用户自定义对象。</p>
    
    
	
	
    
    
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type">Object</span> 
		
		 The user-defined object returned when the billboard is picked.
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 968</li></ul></dd>
	
    -->
    
	
     
	
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getImageIndex"><span class="type-signature"></span><a href="#getImageIndex" class="permalink" target="_self">getImageIndex</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">文档待补充</p>
    
    
	
	
    
    
    
    
    
    
    
    
     
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 700</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setImageIndex" target="_self">Billboard#setImageIndex</a></li>
	
		<li><a href="BillboardCollection.html#setTextureAtlas" target="_self">BillboardCollection#setTextureAtlas</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getPixelOffset"><span class="type-signature"></span><a href="#getPixelOffset" class="permalink" target="_self">getPixelOffset</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">返回此广告牌相对于原点的像素偏移量。</p>
    
    
	
	
    
    
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type"><a href="Cartesian2.html" target="_self">Cartesian2</a></span> 
		
		 The pixel offset of this billboard.
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 259</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setPixelOffset" target="_self">Billboard#setPixelOffset</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getPixelOffsetScaleByDistance"><span class="type-signature"></span><a href="#getPixelOffsetScaleByDistance" class="permalink" target="_self">getPixelOffsetScaleByDistance</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">根据广告牌与相机的距离，返回其近端和远端像素偏移缩放属性。</p>
    
    
	
	
    
    
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type"><a href="NearFarScalar.html" target="_self">NearFarScalar</a></span> 
		
		 The near/far pixel offset scaling values based on camera distance to the billboard
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 440</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setPixelOffsetScaleByDistance" target="_self">Billboard#setPixelOffsetScaleByDistance</a></li>
	
		<li><a href="Billboard.html#setPixelOffset" target="_self">Billboard#setPixelOffset</a></li>
	
		<li><a href="Billboard.html#getPixelOffset" target="_self">Billboard#getPixelOffset</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getPosition"><span class="type-signature"></span><a href="#getPosition" class="permalink" target="_self">getPosition</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">返回此广告牌的笛卡尔坐标位置。</p>
    
    
	
	
    
    
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type"><a href="Cartesian3.html" target="_self">Cartesian3</a></span> 
		
		 The Cartesian position of this billboard.
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 194</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setPosition" target="_self">Billboard#setPosition</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getRotation"><span class="type-signature"></span><a href="#getRotation" class="permalink" target="_self">getRotation</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">获取旋转角度（以弧度为单位）。</p>
    
    
	
	
    
    
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type">Number</span> 
		
		 The rotation angle in radians.
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 807</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setRotation" target="_self">Billboard#setRotation</a></li>
	
		<li><a href="Billboard.html#getAlignedAxis" target="_self">Billboard#getAlignedAxis</a></li>
	
		<li><a href="Billboard.html#setAlignedAxis" target="_self">Billboard#setAlignedAxis</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getScale"><span class="type-signature"></span><a href="#getScale" class="permalink" target="_self">getScale</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">返回与广告牌图像大小（以像素为单位）相乘的统一比例因子。</p>
    
    
	
	
    
    
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type">Number</span> 
		
		 The scale used to size the billboard.
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 654</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setScale" target="_self">Billboard#setScale</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getScaleByDistance"><span class="type-signature"></span><a href="#getScaleByDistance" class="permalink" target="_self">getScaleByDistance</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">根据广告牌与相机的距离，返回该广告牌的近端和远端缩放属性。</p>
    
    
	
	
    
    
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type"><a href="NearFarScalar.html" target="_self">NearFarScalar</a></span> 
		
		 The near/far scaling values based on camera distance to the billboard
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 328</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setScaleByDistance" target="_self">Billboard#setScaleByDistance</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getShow"><span class="type-signature"></span><a href="#getShow" class="permalink" target="_self">getShow</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">如果该广告牌将显示则返回true。可通过调用<a href="Billboard.html#setShow" target="_self">Billboard#setShow</a>方法来隐藏或显示广告牌，而无需将其从集合中移除后重新添加。</p>
    
    
	
	
    
    
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type">Boolean</span> 
		
		 <code>true</code> if this billboard will be shown; otherwise, <code>false</code>.
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 156</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setShow" target="_self">Billboard#setShow</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getTranslucencyByDistance"><span class="type-signature"></span><a href="#getTranslucencyByDistance" class="permalink" target="_self">getTranslucencyByDistance</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">根据广告牌与相机的距离，返回其近远半透明度属性。</p>
    
    
	
	
    
    
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type"><a href="NearFarScalar.html" target="_self">NearFarScalar</a></span> 
		
		 The near/far translucency values based on camera distance to the billboard
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 383</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setTranslucencyByDistance" target="_self">Billboard#setTranslucencyByDistance</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getVerticalOrigin"><span class="type-signature"></span><a href="#getVerticalOrigin" class="permalink" target="_self">getVerticalOrigin</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">返回此广告牌的垂直原点。</p>
    
    
	
	
    
    
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type"><a href="VerticalOrigin.html" target="_self">VerticalOrigin</a></span> 
		
		 The vertical origin of this billboard.
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 606</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setVerticalOrigin" target="_self">Billboard#setVerticalOrigin</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="getWidth"><span class="type-signature"></span><a href="#getWidth" class="permalink" target="_self">getWidth</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">获取广告牌的定制宽度，如果使用图像宽度则返回undefined。</p>
    
    
	
	
    
    
    
    
    
    
    
    
    
    <h5>Returns:</h5>
    
            
<div class="param-desc">
	
	
		<span class="param-type">Number</span> 
		
		 The billboard's width or undefined.
</div>

         
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 906</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setWidth" target="_self">Billboard#setWidth</a></li>
	
		<li><a href="Billboard.html#getHeight" target="_self">Billboard#getHeight</a></li>
	
		<li><a href="Billboard.html#setHeight" target="_self">Billboard#setHeight</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="setAlignedAxis"><span class="type-signature"></span><a href="#setAlignedAxis" class="permalink" target="_self">setAlignedAxis</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">设置世界空间中的对齐轴。对齐轴是广告牌向上向量所指向的单位向量。  
默认值为零向量，表示广告牌将与屏幕的向上向量对齐。</p>
    
    
	
	
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        <a href="Cartesian3.html" target="_self">Cartesian3</a>
                        
                    
            </td>
            
            
            
            
            
            <td class="description last">对齐轴。</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
    
    
    <h5>Throws:</h5>
    
            
<div class="param-desc">
    
		
		<span class="param-type"><a href="DeveloperError.html" target="_self">DeveloperError</a></span> 
		
	: value is required.
</div>


        
    
     
    
    
        <h5>Example</h5>
        
    <pre class="code brush: js">// Example 1.
// Have the billboard up vector point north
billboard.setAlignedAxis(Cesium.Cartesian3.UNIT_Z);

// Example 2.
// Have the billboard point east.
billboard.setAlignedAxis(Cartesian3.UNIT_Z);
billboard.setRotation(-Cesium.Math.PI_OVER_TWO);

// Example 3.
// Reset the aligned axis
billboard.setAlignedAxis(Cesium.Cartesian3.ZERO);</pre>

    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 881</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#setRotation" target="_self">Billboard#setRotation</a></li>
	
		<li><a href="Billboard.html#getRotation" target="_self">Billboard#getRotation</a></li>
	
		<li><a href="Billboard.html#setAlignedAxis" target="_self">Billboard#setAlignedAxis</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="setColor"><span class="type-signature"></span><a href="#setColor" class="permalink" target="_self">setColor</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">设置与广告牌纹理相乘的颜色值。该属性主要有两种常见用途：首先，多个不同颜色的广告牌可以共用同一张白色纹理，通过颜色混合实现彩色广告牌效果；其次，如示例所示，通过颜色的alpha通道可以控制广告牌透明度——当alpha值为<code>0.0</code>时广告牌完全透明，为<code>1.0</code>时则完全不透明。</p><div align="center">
<table border="0" cellpadding="5"><tbody><tr>
<td align="center"><code>default</code><br><img src="images/Billboard.setColor.Alpha255.png" width="250" height="188"></td>
<td align="center"><code>alpha : 0.5</code><br><img src="images/Billboard.setColor.Alpha127.png" width="250" height="188"></td>
</tr></tbody></table>
</div>
<br>
The red, green, blue, and alpha values are indicated by <code>value</code>'s <code>red</code>, <code>green</code>,
<code>blue</code>, and <code>alpha</code> properties as shown in Example 1.  These components range from <code>0.0</code>
(no intensity) to <code>1.0</code> (full intensity).
    <p></p>
    
    
	
	
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            
            
            
            
            
            <td class="description last">颜色的红、绿、蓝及透明度分量。</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
    
    
    <h5>Throws:</h5>
    
            
<div class="param-desc">
    
		
		<span class="param-type"><a href="DeveloperError.html" target="_self">DeveloperError</a></span> 
		
	: value is required.
</div>


        
    
     
    
    
        <h5>Example</h5>
        
    <pre class="code brush: js">// Example 1. Assign yellow.
b.setColor({
  red   : 1.0,
  green : 1.0,
  blue  : 0.0,
  alpha : 1.0
});

// Example 2. Make a billboard 50% translucent.
b.setColor({
  red   : 1.0,
  green : 1.0,
  blue  : 1.0,
  alpha : 0.5
});</pre>

    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 782</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#getColor" target="_self">Billboard#getColor</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="setEyeOffset"><span class="type-signature"></span><a href="#setEyeOffset" class="permalink" target="_self">setEyeOffset</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">设置应用于该广告牌在眼坐标系中的三维笛卡尔偏移量。眼坐标系是一个左手坐标系，其中<code>x</code>轴指向观察者右侧，<code>y</code>轴指向上方，<code>z</code>轴指向屏幕内部。眼坐标系与世界坐标系和模型坐标系使用相同的比例尺（通常以米为单位）。
<br><br>
眼偏移通常用于在同一位置排列多个广告牌或对象，例如将广告牌放置在其对应的3D模型上方。
<br><br>
<code>value</code>可以是<a href="Cartesian3.html" target="_self">Cartesian3</a>实例或包含<code>x</code>、<code>y</code>和<code>z</code>属性的对象字面量。该方法会创建<code>value</code>的副本，因此在调用<code>setEyeOffset</code>后修改原始值不会影响广告牌的眼偏移，必须显式调用<code>setEyeOffset</code>才能更新。
<br><br>
在下方示例中，广告牌虽然定位在地球中心，但通过眼偏移使其始终显示在地球顶部，无论观察者视角或地球如何旋转。
<br><br></p><div align="center">
<table border="0" cellpadding="5"><tbody><tr>
<td align="center"><img src="images/Billboard.setEyeOffset.one.png" width="250" height="188"></td>
<td align="center"><img src="images/Billboard.setEyeOffset.two.png" width="250" height="188"></td>
</tr></tbody></table>
<code>b.setEyeOffset({ x : 0.0, y : 8000000.0, z : 0.0 });</code><br><br>
</div>
    <p></p>
    
    
	
	
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        <a href="Cartesian3.html" target="_self">Cartesian3</a>
                        
                    
            </td>
            
            
            
            
            
            <td class="description last">眼睛坐标中的3D笛卡尔偏移量。</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
    
    
    <h5>Throws:</h5>
    
            
<div class="param-desc">
    
		
		<span class="param-type"><a href="DeveloperError.html" target="_self">DeveloperError</a></span> 
		
	: value is required.
</div>


        
    
     
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 535</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#getEyeOffset" target="_self">Billboard#getEyeOffset</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="setHeight"><span class="type-signature"></span><a href="#setHeight" class="permalink" target="_self">setHeight</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">设置广告牌的定制高度。若未定义，将使用图片默认高度。</p>
    
    
	
	
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
            
            
            
            <td class="description last">广告牌的高度，若未定义则使用图像高度。</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
    
    
    
     
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 954</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#getHeight" target="_self">Billboard#getHeight</a></li>
	
		<li><a href="Billboard.html#getWidth" target="_self">Billboard#getWidth</a></li>
	
		<li><a href="Billboard.html#setWidth" target="_self">Billboard#setWidth</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="setHorizontalOrigin"><span class="type-signature"></span><a href="#setHorizontalOrigin" class="permalink" target="_self">setHorizontalOrigin</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">设置该广告牌的水平原点，用于确定广告牌位于其位置的左侧、中心还是右侧。</p><div align="center">
<img src="images/Billboard.setHorizontalOrigin.png" width="400" height="300"><br>
</div>
    <p></p>
    
    
	
	
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        <a href="HorizontalOrigin.html" target="_self">HorizontalOrigin</a>
                        
                    
            </td>
            
            
            
            
            
            <td class="description last">水平原点。</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
    
    
    <h5>Throws:</h5>
    
            
<div class="param-desc">
    
		
		<span class="param-type"><a href="DeveloperError.html" target="_self">DeveloperError</a></span> 
		
	: value is required.
</div>


        
    
     
    
    
        <h5>Example</h5>
        
    <pre class="code brush: js">// Use a bottom, left origin
b.setHorizontalOrigin(Cesium.HorizontalOrigin.LEFT);
b.setVerticalOrigin(Cesium.VerticalOrigin.BOTTOM);</pre>

    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 584</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#getHorizontalOrigin" target="_self">Billboard#getHorizontalOrigin</a></li>
	
		<li><a href="Billboard.html#setVerticalOrigin" target="_self">Billboard#setVerticalOrigin</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="setImageIndex"><span class="type-signature"></span><a href="#setImageIndex" class="permalink" target="_self">setImageIndex</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">文档待补充</p>
    
    
	
	
    
    
    
    
    
    
    
    
     
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 712</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#getImageIndex" target="_self">Billboard#getImageIndex</a></li>
	
		<li><a href="BillboardCollection.html#setTextureAtlas" target="_self">BillboardCollection#setTextureAtlas</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="setPixelOffset"><span class="type-signature"></span><a href="#setPixelOffset" class="permalink" target="_self">setPixelOffset</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">设置该广告牌相对于屏幕空间原点的像素偏移量。该属性通常用于在同一位置对齐多个广告牌和标签（例如图像和文字）。屏幕空间坐标系的原点位于画布的左下角：<code>x</code>从左向右递增，<code>y</code>从下向上递增。
<br><br>
参数<code>value</code>可以是<a href="Cartesian2.html" target="_self">Cartesian2</a>类型，也可以是包含<code>x</code>和<code>y</code>属性的对象字面量。该方法会创建<code>value</code>的副本，因此在调用<code>setPixelOffset</code>后修改原始值不会影响广告牌的像素偏移量，必须显式调用<code>setPixelOffset</code>才能更新。</p><div align="center">
<table border="0" cellpadding="5"><tbody><tr>
<td align="center"><code>default</code><br><img src="images/Billboard.setPixelOffset.default.png" width="250" height="188"></td>
<td align="center"><code>b.setPixelOffset({ x : 50, y : -25 });</code><br><img src="images/Billboard.setPixelOffset.x50y-25.png" width="250" height="188"></td>
</tr></tbody></table>
The billboard's origin is indicated by the yellow point.
</div>
    <p></p>
    
    
	
	
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        <a href="Cartesian2.html" target="_self">Cartesian2</a>
                        
                    
            </td>
            
            
            
            
            
            <td class="description last">二维笛卡尔像素偏移量。</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
    
    
    <h5>Throws:</h5>
    
            
<div class="param-desc">
    
		
		<span class="param-type"><a href="DeveloperError.html" target="_self">DeveloperError</a></span> 
		
	: value is required.
</div>


        
    
     
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 291</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#getPixelOffset" target="_self">Billboard#getPixelOffset</a></li>
	
		<li><a href="Label.html#setPixelOffset" target="_self">Label#setPixelOffset</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="setPixelOffsetScaleByDistance"><span class="type-signature"></span><a href="#setPixelOffsetScaleByDistance" class="permalink" target="_self">setPixelOffsetScaleByDistance</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">根据广告牌与相机的距离设置其近远像素偏移缩放属性。

当相机距离处于指定的<a href="NearFarScalar.html#near" target="_self">NearFarScalar#near</a>和<a href="NearFarScalar.html#far" target="_self">NearFarScalar#far</a>上下界范围内时，广告牌的像素偏移将在<a href="NearFarScalar.html#nearValue" target="_self">NearFarScalar#nearValue</a>和<a href="NearFarScalar.html#farValue" target="_self">NearFarScalar#farValue</a>之间进行缩放。

超出这些范围时，广告牌的像素偏移缩放比例将保持钳制在最近的边界值。如果未定义，pixelOffsetScaleByDistance功能将被禁用。</p>
    
    
	
	
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>pixelOffsetScale</code></td>
            
            
            <td class="type">
            
                        <a href="NearFarScalar.html" target="_self">NearFarScalar</a>
                        
                    
            </td>
            
            
            
            
            
            <td class="description last">近远距离配置及其各自的像素偏移缩放值</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
    
    
    <h5>Throws:</h5>
    
            
<div class="param-desc">
    
		
		<span class="param-type"><a href="DeveloperError.html" target="_self">DeveloperError</a></span> 
		
	: far distance must be greater than near distance.
</div>


        
    
     
    
    
        <h5>Example</h5>
        
    <pre class="code brush: js">// Example 1.
// Set a billboard's pixel offset scale to 0.0 when the
// camera is 1500 meters from the billboard and scale pixel offset to 10.0 pixels
// in the y direction the camera distance approaches 8.0e6 meters.
b.setPixelOffset(new Cesium.Cartesian2(0.0, 1.0);
b.setPixelOffsetScaleByDistance(new Cesium.NearFarScalar(1.5e2, 0.0, 8.0e6, 10.0));

// Example 2.
// disable pixel offset by distance
b.setPixelOffsetScaleByDistance(undefined);</pre>

    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 474</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#getPixelOffsetScaleByDistance" target="_self">Billboard#getPixelOffsetScaleByDistance</a></li>
	
		<li><a href="Billboard.html#setPixelOffset" target="_self">Billboard#setPixelOffset</a></li>
	
		<li><a href="Billboard.html#getPixelOffset" target="_self">Billboard#getPixelOffset</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="setPosition"><span class="type-signature"></span><a href="#setPosition" class="permalink" target="_self">setPosition</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">设置该广告牌（billboard）的笛卡尔坐标位置。

如示例所示，<code>value</code>可以是<a href="Cartesian3.html" target="_self">Cartesian3</a>类型，也可以是包含<code>x</code>、<code>y</code>和<code>z</code>属性的对象字面量。该方法会创建<code>value</code>的副本，因此在调用<code>setPosition</code>后修改原始值不会影响广告牌的位置；必须显式调用<code>setPosition</code>才能更新位置。</p>
    
    
	
	
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        <a href="Cartesian3.html" target="_self">Cartesian3</a>
                        
                    
            </td>
            
            
            
            
            
            <td class="description last">笛卡尔坐标位置。</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
    
    
    <h5>Throws:</h5>
    
            
<div class="param-desc">
    
		
		<span class="param-type"><a href="DeveloperError.html" target="_self">DeveloperError</a></span> 
		
	: value is required.
</div>


        
    
     
    
    
        <h5>Example</h5>
        
    <pre class="code brush: js">// Example 1. Set a billboard's position using a Cartesian3.
b.setPosition(new Cesium.Cartesian3(1.0, 2.0, 3.0));

// Example 2. Set a billboard's position using an object literal.
b.setPosition({
  x : 1.0,
  y : 2.0,
  z : 3.0
});</pre>

    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 225</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#getPosition" target="_self">Billboard#getPosition</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="setRotation"><span class="type-signature"></span><a href="#setRotation" class="permalink" target="_self">setRotation</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">设置旋转角度（以弧度为单位）。</p>
    
    
	
	
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
            
            
            
            <td class="description last">旋转角度（以弧度表示）。</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
    
    
    <h5>Throws:</h5>
    
            
<div class="param-desc">
    
		
		<span class="param-type"><a href="DeveloperError.html" target="_self">DeveloperError</a></span> 
		
	: value is required.
</div>


        
    
     
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 824</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#getRotation" target="_self">Billboard#getRotation</a></li>
	
		<li><a href="Billboard.html#getAlignedAxis" target="_self">Billboard#getAlignedAxis</a></li>
	
		<li><a href="Billboard.html#setAlignedAxis" target="_self">Billboard#setAlignedAxis</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="setScale"><span class="type-signature"></span><a href="#setScale" class="permalink" target="_self">setScale</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">设置与广告牌图像像素尺寸相乘的统一缩放比例。
值为<code>1.0</code>时保持广告牌原尺寸不变；
大于<code>1.0</code>时放大广告牌；
小于<code>1.0</code>的正值则缩小广告牌。
<br><br></p><div align="center">
<img src="images/Billboard.setScale.png" width="400" height="300"><br>
From left to right in the above image, the scales are <code>0.5</code>, <code>1.0</code>,
and <code>2.0</code>.
</div>
    <p></p>
    
    
	
	
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
            
            
            
            <td class="description last">用于调整广告牌大小的比例。</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
    
    
    <h5>Throws:</h5>
    
            
<div class="param-desc">
    
		
		<span class="param-type"><a href="DeveloperError.html" target="_self">DeveloperError</a></span> 
		
	: value is required.
</div>


        
    
     
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 679</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#getScale" target="_self">Billboard#getScale</a></li>
	
		<li><a href="Billboard.html#setImageIndex" target="_self">Billboard#setImageIndex</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="setScaleByDistance"><span class="type-signature"></span><a href="#setScaleByDistance" class="permalink" target="_self">setScaleByDistance</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">根据广告牌与相机的距离设置其近远距离缩放属性。
当相机距离处于指定的<a href="NearFarScalar.html#near" target="_self">NearFarScalar#near</a>和<a href="NearFarScalar.html#far" target="_self">NearFarScalar#far</a>上下界范围内时，
广告牌的缩放比例将在<a href="NearFarScalar.html#nearValue" target="_self">NearFarScalar#nearValue</a>和
<a href="NearFarScalar.html#farValue" target="_self">NearFarScalar#farValue</a>之间进行插值计算。
超出这些范围时，广告牌的缩放比例将保持为最近的边界值。如果未定义此属性，
则scaleByDistance功能将被禁用。</p>
    
    
	
	
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>scale</code></td>
            
            
            <td class="type">
            
                        <a href="NearFarScalar.html" target="_self">NearFarScalar</a>
                        
                    
            </td>
            
            
            
            
            
            <td class="description last">近远距离配置及其对应的缩放比例值</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
    
    
    <h5>Throws:</h5>
    
            
<div class="param-desc">
    
		
		<span class="param-type"><a href="DeveloperError.html" target="_self">DeveloperError</a></span> 
		
	: far distance must be greater than near distance.
</div>


        
    
     
    
    
        <h5>Example</h5>
        
    <pre class="code brush: js">// Example 1.
// Set a billboard's scaleByDistance to scale by 1.5 when the
// camera is 1500 meters from the billboard and disappear as
// the camera distance approaches 8.0e6 meters.
b.setScaleByDistance(new Cesium.NearFarScalar(1.5e2, 1.5, 8.0e6, 0.0));

// Example 2.
// disable scaling by distance
b.setScaleByDistance(undefined);</pre>

    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 359</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#getScaleByDistance" target="_self">Billboard#getScaleByDistance</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="setShow"><span class="type-signature"></span><a href="#setShow" class="permalink" target="_self">setShow</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">控制该广告牌是否显示。通过调用此方法可隐藏或显示广告牌，而无需将其从集合中移除后重新添加。</p>
    
    
	
	
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Boolean
                        
                    
            </td>
            
            
            
            
            
            <td class="description last">指示此广告牌是否显示。</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
    
    
    <h5>Throws:</h5>
    
            
<div class="param-desc">
    
		
		<span class="param-type"><a href="DeveloperError.html" target="_self">DeveloperError</a></span> 
		
	: value is required.
</div>


        
    
     
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 172</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#getShow" target="_self">Billboard#getShow</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="setTranslucencyByDistance"><span class="type-signature"></span><a href="#setTranslucencyByDistance" class="permalink" target="_self">setTranslucencyByDistance</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">根据广告牌与相机的距离设置其近远半透明属性。
当相机距离处于指定的<a href="NearFarScalar.html#near" target="_self">NearFarScalar#near</a>和<a href="NearFarScalar.html#far" target="_self">NearFarScalar#far</a>上下界范围内时，广告牌的半透明度将在<a href="NearFarScalar.html#nearValue" target="_self">NearFarScalar#nearValue</a>与<a href="NearFarScalar.html#farValue" target="_self">NearFarScalar#farValue</a>之间进行插值计算。超出该范围时，广告牌半透明度将保持为最近边界的值。若未定义此属性，则半透明距离衰减功能将被禁用。</p>
    
    
	
	
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>translucency</code></td>
            
            
            <td class="type">
            
                        <a href="NearFarScalar.html" target="_self">NearFarScalar</a>
                        
                    
            </td>
            
            
            
            
            
            <td class="description last">近远距离配置及其各自的半透明度值</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
    
    
    <h5>Throws:</h5>
    
            
<div class="param-desc">
    
		
		<span class="param-type"><a href="DeveloperError.html" target="_self">DeveloperError</a></span> 
		
	: far distance must be greater than near distance.
</div>


        
    
     
    
    
        <h5>Example</h5>
        
    <pre class="code brush: js">// Example 1.
// Set a billboard's translucency to 1.0 when the
// camera is 1500 meters from the billboard and disappear as
// the camera distance approaches 8.0e6 meters.
b.setTranslucencyByDistance(new Cesium.NearFarScalar(1.5e2, 1.0, 8.0e6, 0.0));

// Example 2.
// disable translucency by distance
b.setTranslucencyByDistance(undefined);</pre>

    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 414</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#getTranslucencyByDistance" target="_self">Billboard#getTranslucencyByDistance</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="setVerticalOrigin"><span class="type-signature"></span><a href="#setVerticalOrigin" class="permalink" target="_self">setVerticalOrigin</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">设置此广告牌的垂直原点，用于确定广告牌位于其位置的上方、下方还是中心位置。</p><div align="center">
<img src="images/Billboard.setVerticalOrigin.png" width="400" height="300"><br>
</div>
    <p></p>
    
    
	
	
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        <a href="VerticalOrigin.html" target="_self">VerticalOrigin</a>
                        
                    
            </td>
            
            
            
            
            
            <td class="description last">垂直原点。</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
    
    
    <h5>Throws:</h5>
    
            
<div class="param-desc">
    
		
		<span class="param-type"><a href="DeveloperError.html" target="_self">DeveloperError</a></span> 
		
	: value is required.
</div>


        
    
     
    
    
        <h5>Example</h5>
        
    <pre class="code brush: js">// Use a bottom, left origin
b.setHorizontalOrigin(Cesium.HorizontalOrigin.LEFT);
b.setVerticalOrigin(Cesium.VerticalOrigin.BOTTOM);</pre>

    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 632</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#getVerticalOrigin" target="_self">Billboard#getVerticalOrigin</a></li>
	
		<li><a href="Billboard.html#setHorizontalOrigin" target="_self">Billboard#setHorizontalOrigin</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        
            
<dt>
    <h4 class="name" id="setWidth"><span class="type-signature"></span><a href="#setWidth" class="permalink" target="_self">setWidth</a></h4>
    
    
</dt>
<dd>
    
    
    <p class="description">设置布告牌的自定义宽度。如果未定义，将使用图像宽度。</p>
    
    
	
	
    
    
    
        <h5>Parameters:</h5>
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            
            
            
            
            
            <td class="description last">广告牌的宽度，若未定义则使用图像宽度。</td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
    
    
    
     
    
    
	
	
<dl class="details">
    
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	<!--
	
	<dt class="tag-source">Source:</dt>
	<dd class="tag-source"><ul class="dummy"><li>Billboard.js, line 921</li></ul></dd>
	
    -->
    
	
     
	
	
	<h5>See:</h5>
	<ul class="see-list">
		<li><a href="Billboard.html#getWidth" target="_self">Billboard#getWidth</a></li>
	
		<li><a href="Billboard.html#getHeight" target="_self">Billboard#getHeight</a></li>
	
		<li><a href="Billboard.html#setHeight" target="_self">Billboard#setHeight</a></li>
	</ul>
	
	
	

	
</dl>

	
	<div class="hr"></div>
</dd>

        </dl>
    
    
    
    
    
</article>

</section>  


    <footer>
        Documentation generated by <a href="https://github.com/micmath/jsdoc">JSDoc 3</a> on Mon Feb 03 2014 12:02:16 GMT-0500 (EST)
    </footer>
</div>
</div>
<br clear="both">

<script type="text/javascript">
    codeview.classFilter.Init();
    
    if (window.frameElement) {
        document.body.className = "embedded";
        var ele = document.createElement('a');
        ele.className = "popout";
        ele.target = "_blank";
        ele.href = window.location.href;
        ele.title = "Pop out";
        document.getElementById('main').appendChild(ele);
        
        ele = document.createElement('a');
        ele.className = "back";
        ele.href = "index.html";
        ele.title = "Home";
        ele.target = "_self";
        document.getElementById('main').appendChild(ele);
        
        
    } else {
        document.getElementById('bkgd').className = "show-bkgd";
    }
    var searchTerm = (document.URL.split('='))[1];
    var show = (document.URL.split('='))[2];
    
    if (show) {
       document.getElementById("filterType").value = show;
    } 
    
    if(searchTerm){
        searchTerm = searchTerm.split('&')[0] || '';
        document.filterForm.classFilter.value = searchTerm;
    }
    else {
        searchTerm="";
    }
    codeview.filter(searchTerm);
    
    SyntaxHighlighter.all();
</script>
<script src="javascript/indexLinks.js"></script>


</body></html>